﻿using Huasky.MyWrod.Core.Db;
using Microsoft.EntityFrameworkCore;

namespace Huasky.MyWrod.Application.Entities;

/// <summary>
/// 订单实体
/// </summary>
[Index(nameof(Code))]
public class OrderEntity: JsonEntity
{
    public string Code { get; set; }
    public DateTimeOffset? Submit { get; set; }
    public double Amount { get; set; }
}
